Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cruelty will now respect gun damage multipliers #630

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

boy2mantwicethefam
Copy link
Contributor

Turns out it would reset the damage back to the initial value multiplied by 2, which messes with 3 different guns that have damage multipliers (snub-nosed revolvers, sniper rifles and the semi-auto shotguns). This fixes it.

@Metekillot
Copy link
Contributor

Cruelty is already relatively overpowered as is and adding an additional *2 damage multiplier to any possible gun damage multiplier is obscene.

@@ -576,7 +576,7 @@
var/mob/living/carbon/human/frer = firer
if(frer.blood)
if(prob(frer.get_total_blood()*10))
damage = initial(damage)*2
damage *= 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
damage *= 2
damage == initial(damage) ? damage * 2 : clamp(damage, initial(damage), initial(damage) * 2)

Cruelty should give you double damage of a projectile, at max; not double the damage of any given projectile, including ones that are possibly already increased. Even still, we may nerf it later, because a % double damage chance per stat point is ludicrous, but we'll worry about that down the line.

@boy2mantwicethefam
Copy link
Contributor Author

Cruelty is comparatively expensive XP-wise though. This is pretty much a bugfix because the whole thing is giving me the impression that it was a way to double-check just in case it somehow got past the variable check, which never actually happens in practice as far as I know. Unless someone from VTM13 says "oh yeah we did this so that damage multipliers don't get too crazy" then I think it's a bugfix. On top of that leaving it as is is not that great for futureproofing either; if a gun with a very low damage multiplier gets added it will end up with a way higher damage multiplier from Cruelty than it should, and inversely a gun with a damage multiplier greater than 2 will turn Cruelty into a critical fail chance and deal reduced damage. Would rather leave the PR as is.

@Metekillot
Copy link
Contributor

We don't care what the maintainers of VtM13 intended.

@boy2mantwicethefam
Copy link
Contributor Author

boy2mantwicethefam commented Jan 28, 2025

Technically, but the rest of the post still stands. Better to let Cruelty actually work out as it should rather than introduce unusual limitations to it, the guns themselves can always be nerfed if they get excessive in practice.

@SoreYew
Copy link

SoreYew commented Jan 28, 2025

Considering the Sniper is a laughable joke and the snub nose is 9mm, if Cruelty worked as intended then these weapons would have actual use.

Are the semi shotties even implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants